<script setup>
import TitleValue from '@components/TitleValue';
import { common } from '@utils';
const props = defineProps({
    data: Object,
    statuss: Array,
    expressMethods: Array,
    expressCompanys: Array,
});
</script>

<template>
    <el-row :gutter="16">
        <el-col :span="7">
            <title-value title="订单编号:" :value="data.orderId" />
        </el-col>
        <el-col :span="7">
            <title-value title="创建时间:" :value="data.createTime" />
        </el-col>
        <el-col :span="7">
            <title-value title="租期开始:" :value="data.rentStartTime.substr(0, 10)" />
        </el-col>
        <el-col :span="7">
            <title-value title="租期结束:" :value="data.rentEndTime.substr(0, 10)" />
        </el-col>
        <!-- </el-row>
    <el-row :gutter="16"> -->
        <el-col :span="7">
            <title-value title="订单状态:" :value="common.getValueByKey('value', data.state, statuss, 'label')" />
        </el-col>
        <el-col :span="7">
            <title-value title="租用天数:" :value="data.rentDays" />
        </el-col>
        <!-- <el-col :span="5">
            <title-value title="是否续租订单:" width="90px" :value="data.relet ? '是' : '否'" />
        </el-col> -->
        <el-col :span="7">
            <title-value title="订单备注:" :value="data.remark" />
        </el-col>
        <!-- </el-row>
    <el-row :gutter="16"> -->
        <!-- <el-col :span="7">
            <title-value title="父订单号:" :value="data.parentId" />
        </el-col> -->
        <!-- <el-col :span="7">
            <title-value title="扣除押金:" :value="data.deductMoney" />
        </el-col> -->
        <!-- </el-row>
    <el-row :gutter="16"> -->
        <el-col :span="7">
            <title-value title="归还备注:" :value="data.returnBack" />
        </el-col>
        <el-col :span="7">
            <title-value title="取消原因:" :value="data.cancelReason" />
        </el-col>
        <!-- <el-col :span="7">
            <title-value title="蚁盾分数:" :value="data.yidunFraction" />
        </el-col> -->
        <el-col :span="7">
            <!-- {{ data.type }} -->
            <title-value title="快递方式:" :value="data.postTypeDesc" />
        </el-col>
    <!-- </el-row>
    <el-row :gutter="16" v-if="data.state - 0 > 7 || true"> -->
        <el-col :span="7">
            <title-value title="发货时间:" :value="data.sendTime" />
        </el-col>
        <el-col :span="7">
            <title-value title="物流单号:" :value="data.sendLogisticsNumber" />
        </el-col>
        <el-col :span="7">
            <title-value title="物流公司:" :value="data.sendLogisticsName" />
        </el-col>
        <el-col :span="7">
            <title-value title="收货时间:" :value="data.receiveTime" />
        </el-col>
    </el-row>
    <!-- <el-row :gutter="16" v-if="data.state - 0 > 9 || true">
        <el-col :span="7">
            <title-value title="归还时间:" :value="data.returnTime" />
        </el-col>
        <el-col :span="7">
            <title-value title="归还物流单号:" :value="data.returnLogisticsNum" />
        </el-col>
        <el-col :span="7">
            <title-value title="归还物流公司:" :value="data.returnLogisticsCompany" />
        </el-col> -->
        <!-- <el-col :span="7">
            <title-value title="商户收货时间:" :value="data.merchantReceiveTime" />
        </el-col> -->
    <!-- </el-row> -->
</template>
